package Test;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        /*Scanner sc = new Scanner(System.in);
        System.out.println("请输入我的时装度：");
        int myFathion = sc.nextInt();
        System.out.println("请输入女孩的时装度：");
        int girlFathion = sc.nextInt();
        boolean result = myFathion > girlFathion;
        System.out.println(result);*/

        /*Scanner sc = new Scanner(System.in);
        int num1 = sc.nextInt();
        int num2 = sc.nextInt();
        boolean result = num1 == 6 || num2 == 6 || (num1 + num2) % 6 == 0;
        System.out.println(result);*/

        /*Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一只老虎的体重：");
        int tiger1 = sc.nextInt();
        System.out.println("请输入第二只老虎的体重：");
        int tiger2 = sc.nextInt();
        String result = tiger1 == tiger2 ? "相同" : "不同";
        System.out.println(result);*/

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个和尚的身高：");
        int h1 = sc.nextInt();
        System.out.println("请输入第二个和尚的身高：");
        int h2 = sc.nextInt();
        System.out.println("请输入第三个和尚的身高：");
        int h3 = sc.nextInt();
        int max = h1 > h2 ? h1 : h2;
        max = max > h3 ? max : h3;
        System.out.println(max);

    }
}
